package com.nanhai.buddhist.college.module.study.enums;

import com.nanhai.buddhist.college.framework.common.exception.ErrorCode;

/**
 * Infra 错误码枚举类
 *
 * infra 系统，使用 1-001-000-000 段
 */
public interface ErrorCodeConstants {

    ErrorCode TIME_NOT_EXISTS = new ErrorCode(2001001000, "教学计划时间不存在");
    ErrorCode SUBJECT_NOT_EXISTS = new ErrorCode(2001001002, "课程管理不存在");
    ErrorCode SUBJECT_CONFIG_NOT_EXISTS = new ErrorCode(2001001003, "课程管理-配置不存在");


    ErrorCode PLAN_NOT_EXISTS = new ErrorCode(2001001004, "教学计划不存在");

    ErrorCode PLAN_TEACHER_NOT_EXISTS = new ErrorCode(2001001005, "教学计划教师信息不存在");


    ErrorCode PLAN_SUBJECT_NOT_EXISTS = new ErrorCode(2001001006, "教学计划课程信息不存在");


    ErrorCode CLASS_TIMETABLE_NOT_EXISTS = new ErrorCode(2001001007, "课程不存在");
    ErrorCode CLASS_TIMETABLE_NOT_CREATE = new ErrorCode(2001001012, "该班课程正在创建中,请稍等");
    ErrorCode CLASS_TIMETABLE_EXISTS_COURSE = new ErrorCode(2001001013, "该时间存在课程，是否强制修改");
    ErrorCode TEACHER_TIMETABLE_NOT_CREATE = new ErrorCode(2001001014, "您今日还未有课程安排");

    ErrorCode ADDITIONAL_COURSES_NOT_EXISTS = new ErrorCode(2001001008, "选课管理不存在");

    ErrorCode ADDITIONAL_COURSES_CLASS_NOT_EXISTS = new ErrorCode(2001001009, "选课班级对应不存在");

    ErrorCode ATTENDANCE_MANAGEMENT_NOT_EXISTS = new ErrorCode(2001001010, "考勤管理不存在");


    ErrorCode ADDITIONAL_COURSES_STUDENT_NOT_EXISTS = new ErrorCode(200100125, "选课记录不存在");
    ErrorCode ADDITIONAL_COURSES_STUDENT_APPLIED = new ErrorCode(2001001011, "已申请该课程,请勿重新提交");
    ErrorCode ATTENDANCE_LEAVE_REASON_NOT_EXISTS = new ErrorCode(2001001014, "查询不到当前数据");

    ErrorCode ADDITIONAL_COURSES_OVER = new ErrorCode(2001001015, "课程已选完");

    // ========== 打卡记录   ==========
    ErrorCode CLOCK_RECORD_NOT_EXISTS = new ErrorCode(2001001016 , "打卡记录不存在");
    ErrorCode ATTENDANCE_MANAGEMENT_LOG_NOT_EXISTS = new ErrorCode(2001001017, "请假审核记录不存在");
    ErrorCode QR_CODE_CONFIG_NOT_EXISTS = new ErrorCode(2001001018, "二维码配置不存在");

    ErrorCode QRCODE_DISABLED = new ErrorCode(2001001019, "二维码已失效");


    ErrorCode QRCODE_CREATED_NOT_TIME = new ErrorCode(2001001020, "二维码不在创建时间");
    ErrorCode EVALUATION_NOT_EXISTS = new ErrorCode(2001001021, "学生评价不存在");
    ErrorCode EVALUATION_ITEM_NOT_EXISTS = new ErrorCode(2001001022, "评价项目不存在");
    ErrorCode EVALUATION_SCORE_ITEM_NOT_EXISTS = new ErrorCode(2001001023, "评分配置不存在");
    ErrorCode TEACHER_EVALUATION_NOT_EXISTS = new ErrorCode(2001001024, "教师评价不存在");

    ErrorCode STUDENT_CLASS_NOT_EXISTS = new ErrorCode(2001001026, "打卡失败班级信息不一致");

    ErrorCode TEACHER_TIMETABLE_EXISTS = new ErrorCode(2001001027, "教师在该时间存在课程");

    ErrorCode CLOCK_TYPE_NOT_EXISTS = new ErrorCode(2001001028, "打卡方式未配置，请联系管理员");

    ErrorCode CLOCK_TIME_NOT_EXISTS = new ErrorCode(2001001029, "不在打卡时间");
}
